﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Framework.Attributes
{
    [AttributeUsage(AttributeTargets.Method)]
    public class ApiPermissionsAttribute : Attribute
    {
        /// <summary>
        /// 权限
        /// </summary>
        public string Permission { get; set; }

        public ApiPermissionsAttribute(string permission)
        {
            Permission = permission;
        }
    }
}
